package com.demo.commcial.service.impl;

import com.demo.commcial.entity.AdminOper;
import com.demo.commcial.mapper.AdminOperMapper;
import com.demo.commcial.service.IAdminOperService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author admin
 * @since 2020-10-25
 */
@Service
public class AdminOperServiceImpl extends ServiceImpl<AdminOperMapper, AdminOper> implements IAdminOperService {

    @Resource
    private AdminOperMapper adminOperMapper;

    @Override
    public AdminOper findByUsername(String username) {
        return adminOperMapper.findByUsername(username);
    }
}
